package binary;

public class ComplementDemo {
    public static void main(String[] args) {

        int n =-45;
        System.out.println(Integer.toBinaryString(n));
        System.out.println(n);


//       long max =Integer.MAX_VALUE;
//        long min =Integer.MIN_VALUE;
//        System.out.println(Long.toBinaryString(max));
//        System.out.println(Long.toBinaryString(min));
//        System.out.println(Long.toBinaryString(-1));
    }
}
